package org.lamb.framework.common.userDTO;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Data
public class AppUserMainDTO {
    private Long id;
    private Long storeId;
    @ApiModelProperty("创建时间")
    private Date createDate;
    @ApiModelProperty("账号角色；1：店铺管理员；2：讲师；3：读者")
    private Byte roleId;
    @ApiModelProperty("头像地址")
    private String headUrl;
    @ApiModelProperty("手机号")
    private String phone;
    @ApiModelProperty("用户编号")
    private String code;
    @ApiModelProperty("昵称")
    private String nickName;
    @ApiModelProperty("微信openid")
    private String wxOpenid;
    private String wxUnionid; // 微信unionid
    @ApiModelProperty("用户账号")
    private String username;
}
